// scaup - Scala up!
// (c) 2008-2010, Normen Müller, normen.mueller@gmail.com  
// $Id: ICLibrary.scala 47 2010-01-12 20:22:35Z normen.mueller $
package scaup.io.jna

import com.sun.jna.Library
import com.sun.jna.Pointer

/**
 * @author <a href="mailto:normen.mueller@googlemail.com">Normen M&#xFC;ller</a>
 * @version 0.0.3 */
private[jna] trait ICLibrary extends Library {  
  def chmod(filename: String, mode: Int): Int 
  
  def readlink(filename: String, linkname: Pointer, linkNameSize: Int): Int
  
  def __lxstat64(ver: Int, path: String, stat: Pointer): Int
  
  def lstat(path: String, stat: Pointer): Int
  
  def __xstat64(ver: Int, path: String, stat: Pointer): Int
  
  def stat(path: String, stat: Pointer): Int
  
  def symlink(targetPath: String, linkPath: String): Int
  
  def getuid(): Int
  
  def getgid(): Int  
}
